package example.core.filter;

import com.aliyun.fc.runtime.Context;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

/**
 * 自定义过滤器
 */
public interface FcWebFilter {

    /**
     * 拦截方法
     * @param request 请求
     * @param response 返回
     * @param context 会话
     * @return 结果
     */
    public Boolean service(HttpServletRequest request, HttpServletResponse response, Context context);
}
